package com.example.faas.controller;

import com.example.faas.model.Response;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yanzhao
 * @since 2021/6/11
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("/springboot")
    public Object springboot() {
        return Response.success("hello springboot");
    }
}
